export const phone_rules = {
  number: [
    {
      required: true,
      message: '手机号是必填的',
      trigger: 'blur'
    },
    {
      pattern: /^[0-9]{11}$/,
      message: '请填写正确的手机号',
      trigger: 'blur'
    }
  ],
  verifyCode: [
    {
      required: true,
      message: '验证码是必填的',
      trigger: 'blur'
    },
    {
      pattern: /^[0-9]{4}$/,
      message: '请填写正确的验证码',
      trigger: 'blur'
    }
  ]
};
